package com.fmy.mcsecurity.login.service;

import org.springframework.security.core.userdetails.UserDetails;

import java.time.LocalDateTime;
import java.util.concurrent.TimeUnit;

/**
 * @author Mr.fmy
 * @version 1.0.0
 * @ClassName JiUserDetail
 * @Description TODO 自定义的 UserDetails
 * @createTime 2019/12/9 11:52
 */
public interface McUserDetails extends UserDetails {

    /**
     * 获取用户id
     */
    String userId();

}
